package Demo_8_28;

import java.util.ArrayList;

public class Demo04 {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList<>();

        arrayList.add("a");
        arrayList.add("b");
        arrayList.add("c");

        for (int i =0;i<arrayList.size();i++){
            System.out.println(arrayList.get(i));
        }
    }
}

